;全局数据合集
.DATA
    szClassName       BYTE "KEYVIEW",0
	szErrorTitle      BYTE "错误",0
	szTop             BYTE "Message         Key       Char     Repeat Scan Ext ALT Prev Tran"
	szUnd             BYTE "_______         ___       ____     ______ ____ ___ ___ ____ ____"
	lszTop EQU sizeof szTop
	lszUnd EQU sizeof szUnd
	szFormat1         BYTE "%-13s %3d %-15s%c%6u %4d %3s %3s %4s %4s",0
	szFormat2         BYTE "%-13s            0x%04X%1s%c %6u %4d %3s %3s %4s %4s",0
	szYes             BYTE "Yes",0
	szNo              BYTE "No",0
	szDown            BYTE "Down",0
	szUp              BYTE "Up",0
	szSpace           BYTE " ",0
	szMessage         BYTE "WM_KEYDOWN    ",0
	                  BYTE "WM_KEYUP      ",0
	                  BYTE "WM_CHAR       ",0
	                  BYTE "WM_DEADCHAR   ",0
	                  BYTE "WM_SYSKEYDOWN ",0
	                  BYTE "WM_SYSKEYUP   ",0
	                  BYTE "WM_SYSCHAR    ",0
	                  BYTE "WM_SYSDEADCHAR",0
	pmsg              DWORD 0

;纸张工业国际标准 A4(K16,16cut) size:210mm*297mm(ISO 216>,300dpi=3508*2479 150dpi=1754*1240 120dpi=2105*1487 72dpi=842*595
.DATA?
hInstance   DWORD ?
hIcon       DWORD ?
cxClientMax SDWORD ?
cyClientMax SDWORD ?
cxClient    SDWORD ?
cyClient    SDWORD ?
cxChar      SDWORD ?
cyChar      SDWORD ?
cLinesMax   SDWORD ?
cLines      SDWORD ?
rectScroll  RECT <>

